package com.example.chat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.chat.beans.Report;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;

public interface ReportMapper extends BaseMapper<Report> {

    IPage<Report> selectBySearch(Page<Report> pages,
                                 @Param("tel") String tel,
                                 @Param("phone") String phone,
                                 @Param("status") int status,
                                 @Param("adminId") int adminId);
}
